package model

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ InboundInvoiceModel = (*customInboundInvoiceModel)(nil)

type (
	// InboundInvoiceModel is an interface to be customized, add more methods here,
	// and implement the added methods in customInboundInvoiceModel.
	InboundInvoiceModel interface {
		inboundInvoiceModel
	}

	customInboundInvoiceModel struct {
		*defaultInboundInvoiceModel
	}
)

// NewInboundInvoiceModel returns a model for the database table.
func NewInboundInvoiceModel(conn sqlx.SqlConn, c cache.CacheConf) InboundInvoiceModel {
	return &customInboundInvoiceModel{
		defaultInboundInvoiceModel: newInboundInvoiceModel(conn, c),
	}
}
